#ifndef EVENT_WORKER_H
#define EVENT_WORKER_H

#include "worker_thread.h"
#include "multicaster.h"
#include "network.h"
#include "event_handler.h"

#include <boost/shared_ptr.hpp>

namespace network {
	class event_worker : public network::worker_thread {
	public:
		event_worker(boost::shared_ptr<event_queue> q):_queue(q) {}
		virtual ~event_worker() {}

		virtual void run();
	private:
		boost::shared_ptr<network::event_queue> _queue;
	};
}

#endif
